package Thread;

class MyThread extends Thread{
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println(i);
        }
    }
}

public class CreateThread1 {
    public static void main(String[] args) {
        MyThread myThread = new MyThread();

        myThread.start();
    }
}
